package org.darkforest.model;

import org.darkforest.common.util.DateUtil;

/**
 * 
 * 项目名称         :bwmall-common
 * 文件名           :ConsultVo.java
 * 开发公司及作者    :陈超
 * 版本号及开发日期  :Rev. 1.00 (2015年2月22日)
 */
public class ConsultVo extends Consult {

	private String memberAvatar;

	public String getMemberAvatar() {
		return memberAvatar;
	}

	public void setMemberAvatar(String memberAvatar) {
		this.memberAvatar = memberAvatar;
	}

	public String getConsultAddtimeStr(){
		String str ="";
		if(super.getConsultAddtime() != null){
			str = DateUtil.toIntDateString(super.getConsultAddtime());
		}
		return str == null ? "" : str;
	}
	
	public String getConsultReplyTimeStr(){
		String str ="";
		if(super.getConsultReplyTime() != null){
			str = DateUtil.toIntDateString(super.getConsultReplyTime());
		}
		return str == null ? "" : str;
	}
	
}
